<template>
	<page-meta :page-style="$theme.pageStyle">
		<!-- #ifndef H5 -->
		<navigation-bar :front-color="$theme.navColor" :background-color="$theme.navBgColor" />
		<!-- #endif -->
	</page-meta>

	<view class="news-detail bg-white flex justify-center">
		<image
		      :show-menu-by-longpress="true"
		      class="code-img"
		      :src="img"
		      mode="aspectFit"
		    ></image>
			<!-- <u-image :showMenuByLongpress="true" :src="img" width="350" height="350"></u-image> -->
	</view>
	<view class="bg-white flex justify-center">长按识别小程序</view>
</template>

<script lang="ts" setup>
import { ref, reactive } from 'vue';
import { onLoad } from '@dcloudio/uni-app';

const img = ref('');

onLoad((options: any) => {
	img.value = options.img;
});
</script>

<style lang="scss">
	page{
		background-color: #fff;
	}
</style>
